<template>
    <web-view :src="url"></web-view>
</template>

<script>
export default {
    data() {
        return {
            url: ''
        }
    },
    onLoad(options) {
        this.url = decodeURIComponent(options.url || '');
		// this.url = 'http://49.232.214.130/FileServer/onlinePreview?url=aHR0cDovLzExNi4yMDUuMTg4LjI1NDozMDAxMS9hcGkvZmlsZS9maWxlZG93bmxvYWQvYW5uZXgvMjAyNS8wNC8xOS9zeXN0ZW0vMjAyNTA0MTlfNjgzMjUzNjQwNTkyMzYyNjkzLnBwdHg='
    }
}
</script>